/**
  *****************************************************************************
	*                                uC/OS-III
	*
  *                            ARM Cortex-M3 Port  
  *	
  * @file:    app.c
  * @author:  zhu
  * @version: 1.0
  * @date:    2016.07.18
  * @brief:   
*******************************************************************************
  * @attention:
  *        
  *        
  *        
  *
  *****************************************************************************
  */

#ifndef _app_h_
#define _app_h_

/* Includes ---------------------------------------*/
/* -----      -------------------------------------*/
#include "os.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_tim.h"
#include "stm32f10x_usart.h"

/* Define -----------------------------------------*/
/* -----      -------------------------------------*/
typedef struct dynamicThreshold
{
  u16 doorOpenValue;
	u16 doorCloseValue;
	u16 doorCloseTime;
	u16 doorApValue;
	u16 doorApMinTime;
	u16 doorApMaxTime;
}dtDefine;
/* Extern  ----------------------------------------*/
/* -----      -------------------------------------*/

/* Function ---------------------------------------*/
/* -----      -------------------------------------*/




#endif



/****************************   (C) COPYRIGHT 2016 Zhu    ****************************/

                /********************  END OF FILE  ********************/

